<template>
  <view :style="themeColor">
    <view class="page">
      <fu-custom :isBack="true" bgColor="bg-white" class="header" :isBottom="true">
        <block slot="content">我的收藏</block>
        <block slot="right">
          <view @click="routeHistory" class="text-red title-right" @tap.stop="switchTypeFunc()">
            {{ status=='1' ? '编辑' : '完成' }}</view>
        </block>
      </fu-custom>
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction align-stretch benben-flex-layout">
        <view class='flex flex-direction align-stretch myCollections_fd1_0' v-if=" status=='1'">
          <template v-for='(item,key0) in dataList'>
            <view class='flex flex-wrap align-stretch myCollections_fd1_0_c0' @tap.stop="handleJumpDiy"
              data-type="navigateTo" :data-url="`/pages/fl/shopDetail/shopDetail?id=${item.goods_aid}`" :key='key0'>
              <image class='myCollections_fd1_0_c0_c0' mode="aspectFill" :src='item.goods_thumb'></image>
              <view class='flex flex-direction flex-wrap align-stretch flex-sub myCollections_fd1_0_c0_c1'>
                <text class='myCollections_fd1_0_c0_c1_c0'>{{item.goods_name}}</text>
                <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1_c1'>
                  <text class='myCollections_fd1_0_c0_c1_c1_c0'>{{item.collect_num}}</text>
                  <text class='myCollections_fd1_0_c0_c1_c1_c0'>收藏</text>
                </view>
                <view class='flex flex-wrap align-center'>
                  <text class='myCollections_fd1_0_c0_c1_c2_c0'>￥</text>
                  <text class=' myCollections_fd1_0_c0_c1_c2_c1'>
                    <text
                      class=' myCollections_price1_fd1_0_c0_c1_c2_c1'>{{ item.goods_shop_price | frontPrice }}</text>
                    <text
                      class=' myCollections_price2_fd1_0_c0_c1_c2_c1'>{{ item.goods_shop_price | laterPrice }}</text>
                  </text>
                  <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1_c2_c2'>
                    <text>￥</text>
                    <text class=''>
                      <text class=' myCollections_price2_fd1_0_c0_c1_c2_c1'>{{ item.market_price | frontPrice }}</text>
                      <text>{{ item.market_price | laterPrice }}</text>
                    </text>
                  </view>
                  <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1'>
                    <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>月销</text>
                    <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>{{item.goods_sales}}</text>
                    <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>件</text>
                  </view>
                </view>
              </view>
            </view>
          </template>

        </view>
        <view class='flex flex-direction align-stretch myCollections_fd1_0' v-if=" status=='2'">
          <benben-select-diy ref="showSelectPopup1689761476686"
            class-name='flex flex-direction align-stretch justify-between flex' :items.sync="dataList"
            v-model="collect_id" :select-all.sync="collectAll" default-type="goods_aid" default-label="goods_name"
            :allow-cancel='true' type="checkbox" :disabled='false'>
            <template v-for='(item,key0) in dataList'>
              <view v-if="item.isSelected" class='flex align-center flex' :key="key0"
                @tap="$refs.showSelectPopup1689761476686.tapHandle(key0)">
                <image class='myCollections_fd1_1_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"3.png"'></image>
                <view class='flex flex-wrap align-center flex-sub myCollections_fd1_0_c0'>
                  <image class='myCollections_fd1_0_c0_c0' mode="aspectFill" :src='item.goods_thumb'></image>
                  <view class='flex flex-direction flex-wrap align-stretch flex-sub myCollections_fd1_0_c0_c1'>
                    <text class='myCollections_fd1_0_c0_c1_c0'>{{item.goods_name}}</text>
                    <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1_c1'>
                      <text class='myCollections_fd1_0_c0_c1_c1_c0'>{{item.collect_num}}</text>
                      <text class='myCollections_fd1_0_c0_c1_c1_c0'>收藏</text>
                    </view>
                    <view class='flex flex-wrap align-center'>
                      <text class='myCollections_fd1_0_c0_c1_c2_c0'>￥</text>
                      <text class=' myCollections_fd1_0_c0_c1_c2_c1'>
                        <text
                          class=' myCollections_price1_fd1_0_c0_c1_c2_c1'>{{ item.goods_shop_price | frontPrice }}</text>
                        <text
                          class=' myCollections_price2_fd1_0_c0_c1_c2_c1'>{{ item.goods_shop_price | laterPrice }}</text>
                      </text>
                      <view class='flex flex-wrap align-center myCollections_fd1_1_c0_c0_c1_c1_c2_c2'>
                        <text>￥</text>
                        <text class=''>
                          <text
                            class=' myCollections_price2_fd1_0_c0_c1_c2_c1'>{{ item.market_price | frontPrice }}</text>
                          <text>{{ item.market_price | laterPrice }}</text>
                        </text>
                      </view>
                      <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1'>
                        <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>月销</text>
                        <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>{{item.goods_sales}}</text>
                        <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>件</text>
                      </view>
                    </view>
                  </view>
                </view>
              </view>
              <view v-else class='flex align-center flex' :key="key0"
                @tap="$refs.showSelectPopup1689761476686.tapHandle(key0)">
                <image class='myCollections_fd1_1_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"213.png"'></image>
                <view class='flex flex-wrap align-center flex-sub myCollections_fd1_0_c0'>
                  <image class='myCollections_fd1_0_c0_c0' mode="aspectFill" :src='item.goods_thumb'></image>
                  <view class='flex flex-direction flex-wrap align-stretch flex-sub myCollections_fd1_0_c0_c1'>
                    <text class='myCollections_fd1_0_c0_c1_c0'>{{item.goods_name}}</text>
                    <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1_c1'>
                      <text class='myCollections_fd1_0_c0_c1_c1_c0'>{{item.collect_num}}</text>
                      <text class='myCollections_fd1_0_c0_c1_c1_c0'>收藏</text>
                    </view>
                    <view class='flex flex-wrap align-center'>
                      <text class='myCollections_fd1_0_c0_c1_c2_c0'>￥</text>
                      <text class=' myCollections_fd1_0_c0_c1_c2_c1'>
                        <text
                          class=' myCollections_price1_fd1_0_c0_c1_c2_c1'>{{ item.goods_shop_price | frontPrice }}</text>
                        <text
                          class=' myCollections_price2_fd1_0_c0_c1_c2_c1'>{{ item.goods_shop_price | laterPrice }}</text>
                      </text>
                      <view class='flex flex-wrap align-center myCollections_fd1_1_c0_c0_c1_c1_c2_c2'>
                        <text>￥</text>
                        <text class=''>
                          <text
                            class=' myCollections_price2_fd1_0_c0_c1_c2_c1'>{{ item.market_price | frontPrice }}</text>
                          <text>{{ item.market_price | laterPrice }}</text>
                        </text>
                      </view>
                      <view class='flex flex-wrap align-center myCollections_fd1_0_c0_c1'>
                        <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>月销</text>
                        <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>{{item.goods_sales}}</text>
                        <text class='myCollections_fd1_0_c0_c1_c2_c3_c0'>件</text>
                      </view>
                    </view>
                  </view>
                </view>
              </view>
            </template></benben-select-diy>
        </view>
        <benben-empty :list-data="dataList">
          <view class='flex flex-direction flex-wrap align-center myCollections_fd1_2'>
            <image class='myCollections_fd1_2_c0' mode="widthFix" :src='STATIC_URL+"178.png"'></image>

          </view>
        </benben-empty>
      </view>

      <!---flex布局flex布局结束-->
      <!---双排列表flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout myCollections_flex_2"
        v-if=" dataList.length<=0 && goodsList.length>0">
        <view class='flex flex-wrap align-center justify-center myCollections_fd2_0'>
          <image class='myCollections_fd2_0_c0' mode="aspectFit" :src='STATIC_URL+"214.png"'></image>
          <text class='myCollections_fd2_0_c1'>猜你喜欢</text>
          <image class='myCollections_fd2_0_c0' mode="aspectFit" :src='STATIC_URL+"215.png"'></image>
        </view>
        <view class='flex flex-wrap align-center justify-between'>
          <template v-for='(item,key0) in goodsList'>
            <view class='flex flex-direction flex-wrap align-stretch myCollections_fd2_1_c0' @tap.stop="handleJumpDiy"
              data-type="navigateTo" :data-url="`/pages/fl/shopDetail/shopDetail?id=${item.aid}`" :key='key0'>
              <image class='myCollections_fd2_1_c0_c0' mode="aspectFill" :src='item.thumb'></image>
              <text class='myCollections_fd2_1_c0_c1'>{{item.name}}</text>
              <view class='flex flex-wrap align-center justify-between myCollections_fd2_1_c0_c2'>
                <view class='flex flex-wrap align-center'>
                  <text class='myCollections_fd2_1_c0_c2_c0_c0'>销量</text>
                  <text class='myCollections_fd2_1_c0_c2_c0_c0'>{{item.sales_sum}}</text>
                </view>
              </view>
              <view class='flex flex-wrap align-center flex-sub myCollections_fd2_1_c0_c3'>
                <text class='myCollections_fd2_1_c0_c3_c0'>￥</text>
                <text class=' myCollections_fd2_1_c0_c3_c1'>
                  <text class=' myCollections_price1_fd2_1_c0_c3_c1'>{{ item.shop_price | frontPrice }}</text>
                  <text class=' myCollections_price2_fd2_1_c0_c3_c1'>{{ item.shop_price | laterPrice }}</text>
                </text>
                <view class='flex flex-wrap align-center'>
                  <text class='myCollections_fd2_1_c0_c3_c2_c0'>￥</text>
                  <text class='myCollections_fd2_1_c0_c3_c2_c0'>{{item.market_price}}</text>
                </view>
              </view>
            </view>
          </template>
          <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData"
            :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
        </view>
      </view>

      <!---双排列表flex布局结束-->
      <view class="flex flex-direction align-stretch benben-position-layout flex myCollections_flex_3"
        v-if=" status=='2' && dataList.length!=0">
        <view class='flex flex-wrap align-center myCollections_fd3_0' v-if=" status=='2'">
          <benben-flex-switch-new class-name='flex flex myCollections_fd3_0_c0' v-model="collectAll" :disabled='false'
            @change="$refs.showSelectPopup1689761476686.checkAll()">
            <template v-slot:checked>

              <view class='flex flex position-relative align-center'>
                <image class='myCollections_checkfd3_0_c0_c0_c0' mode="aspectFit" :src='STATIC_URL+"3.png"'></image>
                <text class='myCollections_checkfd3_0_c0_c0_c1'>全选</text>
              </view>

            </template>
            <template v-slot:unchecked>

              <view class='flex flex position-relative justify-end align-center'>
                <image class='myCollections_noCheckfd3_0_c0_c1_c0' mode="aspectFit" :src='STATIC_URL+"213.png"'></image>
                <text class='myCollections_checkfd3_0_c0_c0_c1'>全选</text>
              </view>

            </template>
          </benben-flex-switch-new>
          <button class='myCollections_fd3_0_c1' @tap.stop="deletecollectFunc()">删除</button>
        </view>

      </view>
      <view :style="{height: '100rpx'}" v-if=" status=='2' && dataList.length!=0"></view>


    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'
  import pagingList from '@/common/mixin/paging_list.js';
  export default {
    components: {},
    mixins: [pagingList],

    data() {
      return {
        "minixPagingListsApi": "",
        "pageingListApiMethod": "",
        "allowOnloadGetList": false,
        "status": "1",
        "dataList": [],
        "collectAll": false,
        "collect_id": "",
        "goodsList": [],
        "dataUserInfo": {
          "invite_code": "",
          "address": "",
          "address_code": "",
          "hobby": "",
          "tags": "",
          "id": "",
          "userlevel_id": "",
          "mobile": "",
          "real_name": "",
          "avatar": "",
          "account": "",
          "email": "",
          "birthday": "",
          "gender": "",
          "create_time": "",
          "user_money": "",
          "freeze_money": "",
          "total_consumption_money": "",
          "score": "",
          "_mobile": "",
          "coupon": "",
          "collection_count": "",
          "browse_count": "",
          "total_money": "",
          "certified": "",
          "nickname": "",
          "is_pay_password": "",
          "follow_count": ""
        },
        "num": 0
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {

    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {
      this.iscollectFunc()
    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {
      this.iscollectFunc()
    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取收藏列表
      async getListFunc() {
        //请求方法
        //数据验证

        let datadataList = await this.$api.post(global.apiUrls.post636cabd662b22, {
          type: 'goods'
        });

        if (datadataList.data.code != 1) {
          this.$message.info(datadataList.data.msg);
          return
        }
        let infodataList = datadataList.data.data;
        this.dataList = infodataList.data

      },
      //删除收藏
      async deletecollectFunc() {
        if (!validate(this.collect_id, 'require')) {
          this.$message.info('请选择商品');
          return false;
        }
        //请求方法
        //数据验证

        let data636caf10164ce = await this.$api.post(global.apiUrls.post636caf10164ce, {
          goods_id: this.collect_id
        });

        if (data636caf10164ce.data.code != 1) {
          this.$message.info(data636caf10164ce.data.msg);
          return
        }



        this.$message.info('取消成功');
        this.switchTypeFunc()
        this.iscollectFunc()
        this.collect_id = '';
      },
      //切换编辑状态
      switchTypeFunc() {
        if (this.status == '1') {
          this.status = '2';
        } else {
          this.status = '1';
        }
        this.collectAll = false;
        this.collect_id = '';
      },
      //获取为你推荐列表
      getGoodsListFunc() {
        this.minixPagingListsApi = global.apiUrls.post64184ac1cafc3;
        this.pageingListApiMethod = 'get';
        this.allowOnloadGetList = false;
        this.pagingListPostDataContent = {
          goods_type: '2'
        }
        this.listData = [];
        this.goodsList = this.listData;
        this.pagingListToggle();

      },
      //是否有收藏
      async iscollectFunc() {
        //请求方法
        //数据验证

        let datadataUserInfo = await this.$api.get(global.apiUrls.post5c78c4772da97, {

        });

        if (datadataUserInfo.data.code != 1) {
          this.$message.info(datadataUserInfo.data.msg);
          return
        }
        let infodataUserInfo = datadataUserInfo.data;
        this.dataUserInfo = infodataUserInfo.data

        if (this.dataUserInfo.collection_count > this.num) {
          this.getListFunc()
        } else {
          this.dataList = [];
          this.getGoodsListFunc()
        }
      },
      pagingListPostData() {
        return this.pagingListPostDataContent
      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: #F8F8F8;
    background-size: 100% auto;
  }

  .myCollections_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .myCollections_fd0_0_c2_c0 {
    font-size: 32rpx;
    font-weight: 400;
    color: var(--benbenFontColor5);
  }

  .myCollections_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333;
  }

  .myCollections_fd0_0_c0_c0 {
    font-size: 32rpx;
    font-weight: 500;
    color: #333;
  }

  .myCollections_fd0_0_c0 {
    width: 180rpx;
  }

  .myCollections_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
    line-height: 88rpx;
  }

  .myCollections_fd1_2_c0 {
    width: 400rpx;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
  }

  .myCollections_fd1_2 {
    width: 100%;
    padding: 50rpx 0rpx 50rpx 0rpx;
  }

  .myCollections_fd1_1_c0_c1_c0 {
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    width: 32rpx;
    height: 32rpx;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .myCollections_fd1_1_c0_c0_c1_c1_c2_c2 {
    margin: 0rpx auto 0rpx 24rpx;
    color: var(--benbenFontColor2);
    line-height: 28rpx;
    font-size: 24rpx;
    text-decoration: line-through;
  }

  .myCollections_fd1_1_c0_c0_c0 {
    width: 32rpx;
    height: 32rpx;
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    margin: 0rpx 24rpx 0rpx 0rpx;
  }

  .myCollections_fd1_0_c0_c1_c2_c3_c0 {
    color: rgba(153, 153, 153, 1);
    font-size: 24rpx;
    font-weight: 500;
    line-height: 30rpx;
  }

  .myCollections_fd1_0_c0_c1_c2_c2 {
    margin: 0rpx auto 0rpx 24rpx;
    color: var(--benbenFontColor2);
    font-size: 24rpx;
    text-decoration: line-through;
    line-height: 28rpx;
  }

  .myCollections_price2_fd1_0_c0_c1_c2_c1 {
    font-size: 22rpx;
  }

  .myCollections_price1_fd1_0_c0_c1_c2_c1 {
    font-size: 32rpx;
  }

  .myCollections_fd1_0_c0_c1_c2_c1 {
    color: rgba(250, 32, 51, 1);
    font-weight: 600;
  }

  .myCollections_fd1_0_c0_c1_c2_c0 {
    color: #FA2033;
    font-size: 20rpx;
    font-weight: 500;
    line-height: 36rpx;
  }

  .myCollections_fd1_0_c0_c1_c1_c0 {
    color: #999999;
    font-size: 24rpx;
    font-weight: 400;
    line-height: 33rpx;
  }

  .myCollections_fd1_0_c0_c1_c1 {
    margin: 12rpx 0rpx 30rpx 0rpx;
  }

  .myCollections_fd1_0_c0_c1_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 500;
    line-height: 40rpx;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .myCollections_fd1_0_c0_c1 {
    margin: 0rpx 0rpx 0rpx 24rpx;
  }

  .myCollections_fd1_0_c0_c0 {
    width: 200rpx;
    height: 200rpx;
    border-radius: 16rpx 16rpx 16rpx 16rpx;
  }

  .myCollections_fd1_0_c0 {
    padding: 24rpx 0rpx 24rpx 0rpx;
  }

  .myCollections_fd1_0 {
    background: var(--benbenbgColor1);
    padding: 20rpx 24rpx 0rpx 24rpx;
    background-size: 100% auto;
  }

  .myCollections_flex_2 {
    padding: 25rpx 24rpx 0rpx 24rpx;
  }

  .myCollections_fd2_1_c0_c3_c2_c0 {
    line-height: 33rpx;
    font-size: 24rpx;
    font-weight: 400;
    color: #999999;
    text-decoration: line-through;
    margin: 15rpx 0rpx 0rpx 0rpx;
  }

  .myCollections_price2_fd2_1_c0_c3_c1 {
    font-size: 22rpx;
    font-weight: 700;
    color: rgba(240, 35, 37, 1);
  }

  .myCollections_price1_fd2_1_c0_c3_c1 {
    font-size: 56rpx;
    font-weight: 700;
    color: rgba(240, 35, 37, 1);
  }

  .myCollections_fd2_1_c0_c3_c1 {
    margin: 0rpx 16rpx 0rpx 0rpx;
  }

  .myCollections_fd2_1_c0_c3_c0 {
    font-size: 20rpx;
    font-weight: 700;
    color: rgba(240, 35, 37, 1);
    margin: 11rpx 0rpx 0rpx 0rpx;
  }

  .myCollections_fd2_1_c0_c3 {
    margin: 0rpx 16rpx 18rpx 16rpx;
  }

  .myCollections_fd2_1_c0_c2_c0_c0 {
    line-height: 33rpx;
    font-size: 24rpx;
    font-weight: 400;
    color: #999999;
  }

  .myCollections_fd2_1_c0_c2 {
    margin: 0rpx 24rpx 24rpx 24rpx;
  }

  .myCollections_fd2_1_c0_c1 {
    font-size: 28rpx;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    margin: 0rpx 16rpx 16rpx 16rpx;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
  }

  .myCollections_fd2_1_c0_c0 {
    width: 344rpx;
    height: 328rpx;
    border-radius: 16rpx 16rpx 0rpx 0rpx;
    margin: 0rpx 0rpx 24rpx 0rpx;
  }

  .myCollections_fd2_1_c0 {
    background: #fff;
    width: 346rpx;
    margin: 0rpx 0rpx 16rpx 0rpx;
    background-size: 100% auto !important;
    border-radius: 24rpx 24rpx 16rpx 16rpx;
    padding: 0rpx 0rpx 18rpx 0rpx;
  }

  .myCollections_fd2_0_c1 {
    font-size: 40rpx;
    font-weight: 600;
    color: #333;
    margin: 0rpx 24rpx 0rpx 24rpx;
  }

  .myCollections_fd2_0_c0 {
    width: 138rpx;
    height: 28rpx;
  }

  .myCollections_fd2_0 {
    margin: 24rpx 0rpx 24rpx 0rpx;
  }

  .myCollections_flex_3 {
    background: var(--benbenbgColor1);
    width: 750rpx;
    height: 100rpx;
    overflow: hidden;
    z-index: 10;
    background-size: 100% auto;
    bottom: calc(0rpx + var(--window-bottom));
  }

  .myCollections_fd3_0_c1 {
    background: #F6F7F9;
    border-radius: 50rpx 50rpx 50rpx 50rpx;
    font-size: 28rpx;
    color: var(--benbenFontColor0);
    margin: 0rpx 24rpx 0rpx auto;
    width: 200rpx;
    height: 72rpx;
    line-height: 78rpx;
    font-weight: 400;
  }

  .myCollections_noCheckfd3_0_c0_c1_c0 {
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    width: 32rpx;
    height: 32rpx;
  }

  .myCollections_checkfd3_0_c0_c0_c1 {
    margin: 0rpx 0rpx 0rpx 16rpx;
    font-size: 28rpx;
    font-weight: 400;
    color: #333;
  }

  .myCollections_checkfd3_0_c0_c0_c0 {
    width: 32rpx;
    height: 32rpx;
    border-radius: 24rpx 24rpx 24rpx 24rpx;
  }

  ::v-deep .myCollections_fd3_0_c0 {
    margin: 0rpx 0rpx 0rpx 32rpx;
  }

  .myCollections_fd3_0 {
    background: var(--benbenbgColor1);
    background-size: 100% auto !important;
    width: 750rpx;
    height: 100rpx;
    position: fixed;
    left: 0rpx;
    bottom: calc(0rpx + var(--window-bottom));
  }
</style>